export default {
  onPageLoad(query) {
    let pages = getCurrentPages();    //获取当前页面信息栈
    let prevPage = pages[pages.length-2];    //获取上一个页面信息栈
    //console.log(prevPage);
    //console.log(prevPage.$WEAPPS_PAGE.state.name);
    //prevPage.$WEAPPS_PAGE.state.name = '11111111';
  },
  onPageShow() {
    //console.log('---------> LifeCycle onPageShow')
  },
  onPageReady() {
    //console.log('---------> LifeCycle onPageReady')
  },
  onPageHide() {
    //console.log('---------> LifeCycle onPageHide')
  },
  onPageUnload() {
    //console.log('---------> LifeCycle onPageUnload')
  },
}